var mysql = require('mysql2');  

var mysql_pool = mysql.createPool({  
    host: "localhost",  
    user: "root",  
    password: "123456",  
    database: "test",  
    port: "3306" 
}); 

const promisePool = mysql_pool.promise();

module.exports    = promisePool; 
